import http from '../utils/http'
export const usersAdd = async (data) => {
  try {
    let { res } = await http({
      url: '/api/users', // 接口，分类，操作
      type: 'post',
      data
    })
    return res
  } catch(err) {
    console.log(err)
  }
}
